package com.xjk.controller;

import com.xjk.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Xjk
 */

@Controller
public class ConsumerController {

    @Autowired
    private ConsumerService consumerService;

    @RequestMapping("/test")
    @ResponseBody
    public String test(){
        return consumerService.demo();
    }


}
